﻿<UserControl 
        x:Class="DiscoveryLogic.UI.Layouts.Controls.BillGraph"
        xmlns="http://schemas.microsoft.com/client/2007" 
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:sys="clr-namespace:System;assembly=mscorlib"
        Width="500"
        Height="292.472">
    
    <UserControl.Resources>
        <sys:String x:Key="Res_MaxAmount">{0} -</sys:String>
        <sys:String x:Key="Res_MinAmount">{0} -</sys:String>
        <sys:String x:Key="Res_AverageAmount">Avg. {0} -</sys:String>
    </UserControl.Resources>
    
    <Canvas x:Name="Root"
        Canvas.Left="0"
        Canvas.Top="-25"
        Background="Transparent"
        >


  <!-- pop up-->

  <Canvas x:Name="HistoryWindow" Opacity="1" Width="477.088" Height="292.472" Canvas.Top="0" Canvas.Left="0" RenderTransformOrigin="0.5,0.5">

    <Canvas.RenderTransform>
      <TransformGroup>
        <ScaleTransform ScaleX="1" ScaleY="1"/>
        <SkewTransform AngleX="0" AngleY="0"/>
        <RotateTransform Angle="0"/>
        <TranslateTransform X="0" Y="0"/>
      </TransformGroup>
    </Canvas.RenderTransform>

    <Rectangle Width="479.136" Height="289.144" RadiusX="10" RadiusY="10" Opacity="0.475" StrokeThickness="2" Canvas.Left="7.953" Canvas.Top="32.86">
      <Rectangle.OpacityMask>
        <LinearGradientBrush EndPoint="0.5,0" StartPoint="0.5,1">
          <GradientStop Color="#00747045" Offset="0"/>
          <GradientStop Color="#00747045" Offset="1"/>
          <GradientStop Color="#FF747045" Offset="0.034"/>
          <GradientStop Color="#FF747045" Offset="0.832"/>
        </LinearGradientBrush>
      </Rectangle.OpacityMask>
      <Rectangle.Fill>
        <LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
          <GradientStop Color="#00747045" Offset="0"/>
          <GradientStop Color="#00747045" Offset="1"/>
          <GradientStop Color="#FF747045" Offset="0.029"/>
          <GradientStop Color="#FF747045" Offset="0.976"/>
        </LinearGradientBrush>
      </Rectangle.Fill>
    </Rectangle>

    <Rectangle Width="476.73" Height="282.301" RadiusX="10" RadiusY="10" Opacity="1" StrokeThickness="2" Canvas.Top="25">
      <Rectangle.Fill>
        <LinearGradientBrush EndPoint="0.553,0.441" StartPoint="0.686,1.068">
          <GradientStop Color="#DBBBBA79" Offset="0"/>
          <GradientStop Color="#DBE5E4AF" Offset="1"/>
          <GradientStop Color="#DBD4D399" Offset="0.51"/>
        </LinearGradientBrush>
      </Rectangle.Fill>
      <Rectangle.Stroke>
        <LinearGradientBrush EndPoint="0.076,0.096" StartPoint="0.91,1.157">
          <GradientStop Color="#FF072F2F" Offset="0.005"/>
          <GradientStop Color="#FDFFFFFF" Offset="1"/>
        </LinearGradientBrush>
      </Rectangle.Stroke>
    </Rectangle>

    <Rectangle Width="476.73" Height="282.301" RadiusX="10" RadiusY="10" Opacity="0.41" StrokeThickness="2" Canvas.Top="25">
      <Rectangle.Fill>
        <LinearGradientBrush EndPoint="1.3,-0.251" StartPoint="0.002,1.122" SpreadMethod="Repeat">
          <GradientStop Color="#78FFFFFF" Offset="0.581"/>
          <GradientStop Color="#00FFFFFF" Offset="0.587"/>
          <GradientStop Color="#00FFFFFF" Offset="0.4"/>
          <GradientStop Color="#3EFFFFFF" Offset="0.444"/>
          <GradientStop Color="#00FFFFFF" Offset="0.736"/>
          <GradientStop Color="#61FFFFFF" Offset="0.74"/>
          <GradientStop Color="#00FFFFFF" Offset="0.935"/>
          <GradientStop Color="#00FFFFFF" Offset="0.935"/>
          <GradientStop Color="#00FFFFFF" Offset="0.881"/>
          <GradientStop Color="#00FFFFFF" Offset="0.221"/>
          <GradientStop Color="#32FFFFFF" Offset="0.226"/>
          <GradientStop Color="#00FFFFFF" Offset="0.303"/>
          <GradientStop Color="#58FEFEFE" Offset="0.012"/>
          <GradientStop Color="#59FEFEFE" Offset="0.979"/>
          <GradientStop Color="#18FFFFFF" Offset="0.067"/>
          <GradientStop Color="#00FFFFFF" Offset="0.688"/>
          <GradientStop Color="#18FFFFFF" Offset="0.452"/>
        </LinearGradientBrush>
      </Rectangle.Fill>
    </Rectangle>




    <Canvas x:Name="PitchStage2_3" Width="771.838" Height="513.499" Canvas.Left="13.503" Canvas.Top="15.5">



      <Path Width="341.01" Height="1" Stretch="Fill" StrokeThickness="1" Canvas.Left="105.472" Canvas.Top="235.999" Data="M88.972,453.499 L523.98234,453.499">
        <Path.Stroke>
          <LinearGradientBrush EndPoint="0.895,2.5" StartPoint="0.978,1.525">
            <GradientStop Color="#00000000" Offset="0"/>
            <GradientStop Color="#FF000000" Offset="1"/>
          </LinearGradientBrush>
        </Path.Stroke>
      </Path>
      <Path Width="141.571" Height="1" Stretch="Fill" StrokeThickness="1" Canvas.Left="35.478" Canvas.Top="144.999" Data="M88.972,453.499 L523.98234,453.499" RenderTransformOrigin="0.5,0.5">
        <Path.Stroke>
          <LinearGradientBrush EndPoint="0.895,2.5" StartPoint="0.978,1.525">
            <GradientStop Color="#00000000" Offset="0"/>
            <GradientStop Color="#FF000000" Offset="1"/>
          </LinearGradientBrush>
        </Path.Stroke>
        <Path.RenderTransform>
          <TransformGroup>
            <ScaleTransform ScaleX="1.2785842057417671" ScaleY="0.782115089103461"/>
            <SkewTransform AngleX="0" AngleY="0"/>
            <RotateTransform Angle="-90"/>
            <TranslateTransform X="0" Y="0"/>
          </TransformGroup>
        </Path.RenderTransform>
      </Path>
      <!-- avg Amount -->
      <TextBlock x:Name="AvgAmount" Width="96.164" Height="20.5" Canvas.Left="37.308" Canvas.Top="132.999" FontFamily="Trebuchet MS" FontSize="11" FontWeight="Bold" Foreground="#FF1D62AF" Text="Avg. ^^^^" TextWrapping="Wrap"/>
      <TextBlock Width="126.528" Height="27" Canvas.Left="106.472" Canvas.Top="264.475" FontFamily="Trebuchet MS" FontWeight="Bold" Foreground="#FF072F2F" TextWrapping="Wrap" Text="Payment History"/>
      <TextBlock Width="160.528" Height="27" Canvas.Left="-66.528" Canvas.Top="142.499" FontFamily="Trebuchet MS" FontWeight="Bold" Foreground="#FF072F2F" TextWrapping="Wrap" RenderTransformOrigin="0.5,0.5" FontSize="18" Text="Payment Amount">
        <TextBlock.RenderTransform>
          <TransformGroup>
            <ScaleTransform ScaleX="1" ScaleY="1"/>
            <SkewTransform AngleX="0" AngleY="0"/>
            <RotateTransform Angle="-90"/>
            <TranslateTransform X="0" Y="0"/>
          </TransformGroup>
        </TextBlock.RenderTransform>
      </TextBlock>
      <!-- max amount -->
      <TextBlock x:Name="MaxAmount" Width="96.164" Height="20.5" Canvas.Left="55.808" Canvas.Top="54.999" FontFamily="Trebuchet MS" FontSize="12" FontWeight="Bold" Foreground="#FF072F2F" Text="^^^^ -" TextWrapping="Wrap"/>
      <!-- min amount -->
      <TextBlock x:Name="MinAmount" Width="96.164" Height="20.5" Canvas.Left="55.808" Canvas.Top="220.999" FontFamily="Trebuchet MS" FontSize="12" FontWeight="Bold" Foreground="#FF072F2F" Text="^0 -" TextWrapping="Wrap"/>
      <!-- dates -->
      
      <TextBlock x:Name="Date_0" Width="319.662" Height="11.499" Canvas.Left="105.018" Canvas.Top="238.496" FontFamily="Trebuchet MS" FontSize="9" FontWeight="Bold" Foreground="#FF000000" TextWrapping="Wrap" Text="06/02/07" />
      <TextBlock x:Name="Date_1" Width="311.484" Height="11.499" FontFamily="Trebuchet MS" FontSize="9" FontWeight="Bold" Foreground="#FF000000" TextWrapping="Wrap" Canvas.Left="134.998" Canvas.Top="250.491" Text="06/22/07" />
      <TextBlock x:Name="Date_2" Width="319.662" Height="11.499" Canvas.Left="170.018" Canvas.Top="238.496" FontFamily="Trebuchet MS" FontSize="9" FontWeight="Bold" Foreground="#FF000000" TextWrapping="Wrap" Text="07/04/07" />
      <TextBlock x:Name="Date_3" Width="311.484" Height="11.499" FontFamily="Trebuchet MS" FontSize="9" FontWeight="Bold" Foreground="#FF000000" TextWrapping="Wrap" Canvas.Left="200.998" Canvas.Top="250.491" Text="07/18/07" />
      <TextBlock x:Name="Date_4" Width="319.662" Height="11.499" Canvas.Left="235.018" Canvas.Top="238.496" FontFamily="Trebuchet MS" FontSize="9" FontWeight="Bold" Foreground="#FF000000" TextWrapping="Wrap" Text="08/03/07" />
      <TextBlock x:Name="Date_5" Width="311.484" Height="11.499" FontFamily="Trebuchet MS" FontSize="9" FontWeight="Bold" Foreground="#FF000000" TextWrapping="Wrap" Canvas.Left="265.998" Canvas.Top="250.491" Text="08/21/07" />
      <TextBlock x:Name="Date_6" Width="319.662" Height="11.499" Canvas.Left="295.018" Canvas.Top="238.496" FontFamily="Trebuchet MS" FontSize="9" FontWeight="Bold" Foreground="#FF000000" TextWrapping="Wrap" Text="09/02/07" />
      <TextBlock x:Name="Date_7" Width="311.484" Height="11.499" FontFamily="Trebuchet MS" FontSize="9" FontWeight="Bold" Foreground="#FF000000" TextWrapping="Wrap" Canvas.Left="330.998" Canvas.Top="250.491" Text="09/16/07" />
      <TextBlock x:Name="Date_8" Width="319.662" Height="11.499" Canvas.Left="365.018" Canvas.Top="238.496" FontFamily="Trebuchet MS" FontSize="9" FontWeight="Bold" Foreground="#FF000000" TextWrapping="Wrap" Text="10/05/07" />
      <TextBlock x:Name="Date_9" Width="311.484" Height="11.499" FontFamily="Trebuchet MS" FontSize="9" FontWeight="Bold" Foreground="#FF000000" TextWrapping="Wrap" Canvas.Left="395.998" Canvas.Top="250.491" Text="10/18/07" />
            
      <!-- payee -->
      <TextBlock x:Name="PayeeName" Width="126.528" Height="27" FontFamily="Trebuchet MS" FontWeight="Bold" Foreground="#FF072F2F" TextWrapping="Wrap" Text="ABC Catering" Canvas.Left="108.472" Canvas.Top="20.999" FontSize="18"/>
      <Path Width="312" Height="4" Stretch="Fill" Stroke="#FF000000" StrokeThickness="1" Canvas.Left="104.223" Canvas.Top="43.984" Data="M106.223,37.984 C129.223,37.984 414.223,37.984 414.223,37.984"/>
    </Canvas>



    <Canvas Width="325" Height="170.35" x:Name="History_1_Copy" Canvas.Left="124" Canvas.Top="75">
      
      <Rectangle x:Name="Bar0" Width="24.998" Height="65.621" StrokeEndLineCap="Flat" StrokeStartLineCap="Flat" StrokeThickness="1" RadiusX="12" RadiusY="12" Canvas.Top="121.717" Canvas.Left="2">
        <Rectangle.Fill>
          <LinearGradientBrush x:Name="Bar0Brush"  EndPoint="3.251,0.392" StartPoint="0.439,0.563" MappingMode="RelativeToBoundingBox">
            <LinearGradientBrush.Transform>
              <TransformGroup>
                <MatrixTransform Matrix="1,0,0,-1,-27.270996,84.062012"/>
              </TransformGroup>
            </LinearGradientBrush.Transform>
            <GradientStop Color="#FFFFFFFF" Offset="0.010949"/>
            <GradientStop x:Name="Bar0Gradient0" Color="#FFC0DEF4" Offset="0.10219"/>
            <GradientStop x:Name="Bar0Gradient1" Color="#FFA0CAEB" Offset="0.346715"/>
            <GradientStop x:Name="Bar0Gradient2" Color="#FF83B7E2" Offset="0.450175"/>
            <!--
            <GradientStop x:Name="Bar0Gradient3" Color="#FF65A3D8" Offset="0.744526"/>
            <GradientStop x:Name="Bar0Gradient4" Color="#FFC0DEF4" Offset="0.927007"/>
            <GradientStop  x:Name="Bar0Gradient5" Color="#FFFFFFFF" Offset="1"/>
            -->
          </LinearGradientBrush>
        </Rectangle.Fill>
      </Rectangle>

      <Rectangle  x:Name="Bar1" Width="24.998" Height="99.994" StrokeEndLineCap="Flat" StrokeStartLineCap="Flat" StrokeThickness="1" RadiusX="12" RadiusY="12" Canvas.Left="33.259" Canvas.Top="87.35">
        <Rectangle.Fill>
          <LinearGradientBrush x:Name="Bar1Brush"  EndPoint="2.91,0.276" StartPoint="0.628,0.402" MappingMode="RelativeToBoundingBox">
            <LinearGradientBrush.Transform>
              <TransformGroup>
              <MatrixTransform Matrix="1,0,0,-1,-27.270996,84.062012"/>
              </TransformGroup>
            </LinearGradientBrush.Transform>
            <GradientStop Color="#FFFFFFFF" Offset="0.010949"/>
            <GradientStop x:Name="Bar1Gradient0" Color="#FFC0DEF4" Offset="0.10219"/>
            <GradientStop x:Name="Bar1Gradient1" Color="#FFA0CAEB" Offset="0.346715"/>
            <GradientStop x:Name="Bar1Gradient2" Color="#FF83B7E2" Offset="0.450175"/>
            <!--
            <GradientStop x:Name="Bar1Gradient3" Color="#FF65A3D8" Offset="0.744526"/>
            <GradientStop x:Name="Bar1Gradient4" Color="#FFC0DEF4" Offset="0.927007"/>
            <GradientStop x:Name="Bar1Gradient5" Color="#FFFFFFFF" Offset="1"/>
            -->
          </LinearGradientBrush>
        </Rectangle.Fill>
      </Rectangle>
      
      <Rectangle x:Name="Bar2"  Width="24.998" Height="73.961" StrokeEndLineCap="Flat" StrokeStartLineCap="Flat" StrokeThickness="1" RadiusX="12" RadiusY="12" Canvas.Left="64.497" Canvas.Top="113.389">
        <Rectangle.Fill>
          <LinearGradientBrush x:Name="Bar2Brush"  EndPoint="3.251,0.392" StartPoint="0.439,0.563" MappingMode="RelativeToBoundingBox">
            <LinearGradientBrush.Transform>
              <TransformGroup>
              <MatrixTransform Matrix="1,0,0,-1,-27.270996,84.062012"/>
              </TransformGroup>
            </LinearGradientBrush.Transform>
            <GradientStop Color="#FFFFFFFF" Offset="0.010949"/>
            <GradientStop x:Name="Bar2Gradient0" Color="#FFC0DEF4" Offset="0.10219"/>
            <GradientStop x:Name="Bar2Gradient1" Color="#FFA0CAEB" Offset="0.346715"/>
            <GradientStop x:Name="Bar2Gradient2" Color="#FF83B7E2" Offset="0.450175"/>
            <!--
            <GradientStop x:Name="Bar2Gradient3" Color="#FF65A3D8" Offset="0.744526"/>
            <GradientStop x:Name="Bar2Gradient4" Color="#FFC0DEF4" Offset="0.927007"/>
            <GradientStop x:Name="Bar2Gradient5" Color="#FFFFFFFF" Offset="1"/>
            -->
          </LinearGradientBrush>
        </Rectangle.Fill>
      </Rectangle>
      
      <Rectangle x:Name="Bar3"  Width="24.998" Height="99.994" StrokeEndLineCap="Flat" StrokeStartLineCap="Flat" StrokeThickness="1" RadiusX="12" RadiusY="12" Canvas.Left="95.754" Canvas.Top="87.35">
        <Rectangle.Fill>
          <LinearGradientBrush x:Name="Bar3Brush"  EndPoint="2.651,0.184" StartPoint="0.708,0.272" MappingMode="RelativeToBoundingBox">
            <LinearGradientBrush.Transform>
              <TransformGroup>
              <MatrixTransform Matrix="1,0,0,-1,-27.270996,84.062012"/>
              </TransformGroup>
            </LinearGradientBrush.Transform>
            <GradientStop Color="#FFFFFFFF" Offset="0.010949"/>
            <GradientStop x:Name="Bar3Gradient0" Color="#FFC0DEF4" Offset="0.10219"/>
            <GradientStop x:Name="Bar3Gradient1" Color="#FFA0CAEB" Offset="0.346715"/>
            <GradientStop x:Name="Bar3Gradient2" Color="#FF83B7E2" Offset="0.450175"/>
            <!--
            <GradientStop x:Name="Bar3Gradient3" Color="#FF65A3D8" Offset="0.744526"/>
            <GradientStop x:Name="Bar3Gradient4" Color="#FFC0DEF4" Offset="0.927007"/>
            <GradientStop x:Name="Bar3Gradient5" Color="#FFFFFFFF" Offset="1"/>
            -->
          </LinearGradientBrush>
        </Rectangle.Fill>
      </Rectangle>      
      
      <Rectangle x:Name="Bar4"  Width="24.998" Height="65.621" StrokeEndLineCap="Flat" StrokeStartLineCap="Flat" StrokeThickness="1" RadiusX="12" RadiusY="12" Canvas.Left="127.752" Canvas.Top="120.344">
        <Rectangle.Fill>
          <LinearGradientBrush x:Name="Bar4Brush"  EndPoint="2.758,0.671" StartPoint="0.816,0.759" MappingMode="RelativeToBoundingBox">
            <LinearGradientBrush.Transform>
              <TransformGroup>
              <MatrixTransform Matrix="1,0,0,-1,-27.270996,84.062012"/>
              </TransformGroup>
            </LinearGradientBrush.Transform>
            <GradientStop Color="#FFFFFFFF" Offset="0.010949"/>
            <GradientStop x:Name="Bar4Gradient0" Color="#FFC0DEF4" Offset="0.10219"/>
            <GradientStop x:Name="Bar4Gradient1" Color="#FFA0CAEB" Offset="0.346715"/>
            <GradientStop x:Name="Bar4Gradient2" Color="#FF83B7E2" Offset="0.450175"/>
            <!--
            <GradientStop x:Name="Bar4Gradient3" Color="#FF65A3D8" Offset="0.744526"/>
            <GradientStop x:Name="Bar4Gradient4" Color="#FFC0DEF4" Offset="0.927007"/>
            <GradientStop x:Name="Bar4Gradient5" Color="#FFFFFFFF" Offset="1"/>
            -->
          </LinearGradientBrush>
        </Rectangle.Fill>
      </Rectangle>
      
      <Rectangle x:Name="Bar5" Width="24.998" Height="120.994" StrokeEndLineCap="Flat" StrokeStartLineCap="Flat" StrokeThickness="1" RadiusX="12" RadiusY="12" Canvas.Left="159.752" Canvas.Top="66.344">
        <Rectangle.Fill>
          <LinearGradientBrush x:Name="Bar5Brush"  EndPoint="2.91,0.276" StartPoint="0.628,0.402" MappingMode="RelativeToBoundingBox">
            <LinearGradientBrush.Transform>
              <TransformGroup>
              <MatrixTransform Matrix="1,0,0,-1,-27.270996,84.062012"/>
              </TransformGroup>
            </LinearGradientBrush.Transform>
            <GradientStop Color="#FFFFFFFF" Offset="0.010949"/>
            <GradientStop x:Name="Bar5Gradient0" Color="#FFC0DEF4" Offset="0.10219"/>
            <GradientStop x:Name="Bar5Gradient1" Color="#FFA0CAEB" Offset="0.346715"/>
            <GradientStop x:Name="Bar5Gradient2" Color="#FF83B7E2" Offset="0.450175"/>
            <!--
            <GradientStop x:Name="Bar5Gradient3" Color="#FF65A3D8" Offset="0.744526"/>
            <GradientStop x:Name="Bar5Gradient4" Color="#FFC0DEF4" Offset="0.927007"/>
            <GradientStop x:Name="Bar5Gradient5" Color="#FFFFFFFF" Offset="1"/>
            -->
          </LinearGradientBrush>
        </Rectangle.Fill>
      </Rectangle>
      
      <Rectangle x:Name="Bar6" Width="24.998" Height="54.961" StrokeEndLineCap="Flat" StrokeStartLineCap="Flat" StrokeThickness="1" RadiusX="12" RadiusY="12" Canvas.Left="192.752" Canvas.Top="131.344">
        <Rectangle.Fill>
          <LinearGradientBrush x:Name="Bar6Brush"  EndPoint="3.251,0.392" StartPoint="0.439,0.563" MappingMode="RelativeToBoundingBox">
            <LinearGradientBrush.Transform>
              <TransformGroup>
              <MatrixTransform Matrix="1,0,0,-1,-27.270996,84.062012"/>
              </TransformGroup>
            </LinearGradientBrush.Transform>
            <GradientStop Color="#FFFFFFFF" Offset="0.010949"/>
            <GradientStop x:Name="Bar6Gradient0" Color="#FFC0DEF4" Offset="0.10219"/>
            <GradientStop x:Name="Bar6Gradient1" Color="#FFA0CAEB" Offset="0.346715"/>
            <GradientStop x:Name="Bar6Gradient2" Color="#FF83B7E2" Offset="0.450175"/>
            <!--
            <GradientStop x:Name="Bar6Gradient3" Color="#FF65A3D8" Offset="0.744526"/>
            <GradientStop x:Name="Bar6Gradient4" Color="#FFC0DEF4" Offset="0.927007"/>
            <GradientStop x:Name="Bar6Gradient5" Color="#FFFFFFFF" Offset="1"/>
            -->
          </LinearGradientBrush>
        </Rectangle.Fill>
      </Rectangle>
      
      <Rectangle x:Name="Bar7" Width="24.998" Height="99.994" StrokeEndLineCap="Flat" StrokeStartLineCap="Flat" StrokeThickness="1" RadiusX="12" RadiusY="12" Canvas.Left="224.752" Canvas.Top="87.344">
        <Rectangle.Fill>
          <LinearGradientBrush x:Name="Bar7Brush"  EndPoint="2.651,0.184" StartPoint="0.708,0.272" MappingMode="RelativeToBoundingBox">
            <LinearGradientBrush.Transform>
              <TransformGroup>
              <MatrixTransform Matrix="1,0,0,-1,-27.270996,84.062012"/>
              </TransformGroup>
            </LinearGradientBrush.Transform>
            <GradientStop Color="#FFFFFFFF" Offset="0.010949"/>
            <GradientStop x:Name="Bar7Gradient0" Color="#FFC0DEF4" Offset="0.10219"/>
            <GradientStop x:Name="Bar7Gradient1" Color="#FFA0CAEB" Offset="0.346715"/>
            <GradientStop x:Name="Bar7Gradient2" Color="#FF83B7E2" Offset="0.450175"/>
            <!--
            <GradientStop x:Name="Bar7Gradient3" Color="#FF65A3D8" Offset="0.744526"/>
            <GradientStop x:Name="Bar7Gradient4" Color="#FFC0DEF4" Offset="0.927007"/>
            <GradientStop x:Name="Bar7Gradient5" Color="#FFFFFFFF" Offset="1"/>
            -->
          </LinearGradientBrush>
        </Rectangle.Fill>
      </Rectangle>

      <Rectangle x:Name="Bar8" Width="24.998" Height="83.994" StrokeEndLineCap="Flat" StrokeStartLineCap="Flat" StrokeThickness="1" RadiusX="12" RadiusY="12" Canvas.Left="258.755" Canvas.Top="101.971">
        <Rectangle.Fill>
          <LinearGradientBrush x:Name="Bar8Brush"  EndPoint="2.651,0.184" StartPoint="0.708,0.272" MappingMode="RelativeToBoundingBox">
            <LinearGradientBrush.Transform>
              <TransformGroup>
              <MatrixTransform Matrix="1,0,0,-1,-27.270996,84.062012"/>
              </TransformGroup>
            </LinearGradientBrush.Transform>
            <GradientStop Color="#FFFFFFFF" Offset="0.010949"/>
            <GradientStop x:Name="Bar8Gradient0" Color="#FFC0DEF4" Offset="0.10219"/>
            <GradientStop x:Name="Bar8Gradient1" Color="#FFA0CAEB" Offset="0.346715"/>
            <GradientStop x:Name="Bar8Gradient2" Color="#FF83B7E2" Offset="0.450175"/>
            <!--
            <GradientStop x:Name="Bar8Gradient3" Color="#FF65A3D8" Offset="0.744526"/>
            <GradientStop x:Name="Bar8Gradient4" Color="#FFC0DEF4" Offset="0.927007"/>
            <GradientStop x:Name="Bar8Gradient5" Color="#FFFFFFFF" Offset="1"/>
            -->
          </LinearGradientBrush>
        </Rectangle.Fill>
      </Rectangle>

      <Rectangle x:Name="Bar9"  Width="25" Height="31.248" StrokeEndLineCap="Flat" StrokeStartLineCap="Flat" StrokeThickness="1" RadiusX="12" RadiusY="12" Canvas.Left="287.753" Canvas.Top="156.094">
        <Rectangle.Fill>
          <LinearGradientBrush x:Name="Bar9Brush" EndPoint="2.651,0.184" StartPoint="0.708,0.272" MappingMode="RelativeToBoundingBox">
            <LinearGradientBrush.Transform>
              <TransformGroup>
              <MatrixTransform Matrix="1,0,0,-1,-27.270996,84.062012"/>
              </TransformGroup>
            </LinearGradientBrush.Transform>
            <GradientStop Color="#FFFFFFFF" Offset="0.010949"/>
            <GradientStop x:Name="Bar9Gradient0" Color="#FFC0DEF4" Offset="0.10219"/>
            <GradientStop x:Name="Bar9Gradient1" Color="#FFA0CAEB" Offset="0.346715"/>
            <GradientStop x:Name="Bar9Gradient2" Color="#FF83B7E2" Offset="0.450175"/>
            <!--
            <GradientStop x:Name="Bar9Gradient3" Color="#FF65A3D8" Offset="0.744526"/>
            <GradientStop x:Name="Bar9Gradient4" Color="#FFC0DEF4" Offset="0.927007"/>
            <GradientStop x:Name="Bar9Gradient5" Color="#FFFFFFFF" Offset="1"/>
            -->
          </LinearGradientBrush>
        </Rectangle.Fill>
     
      </Rectangle>

      
    </Canvas>

    <!-- X close button -->

    <Canvas Width="13.25" Height="13.25" Canvas.Left="446.835" Canvas.Top="41.166" x:Name="CloseBut" RenderTransformOrigin="0.5,0.5" Background="Transparent"
            MouseLeftButtonDown="CloseButton_Clicked">

        <Canvas.RenderTransform>
            <TransformGroup>
                <ScaleTransform ScaleX="2" ScaleY="2"/>
                <SkewTransform AngleX="0" AngleY="0"/>
                <RotateTransform Angle="0"/>
                <TranslateTransform X="0" Y="0"/>
            </TransformGroup>
        </Canvas.RenderTransform>

        <Path Width="6.81" Height="6.81" Stretch="Fill" StrokeEndLineCap="Round" StrokeStartLineCap="Round" StrokeThickness="1" Data="M160.085,5.249 L170.72837,15.892366" Canvas.Left="3.167" Canvas.Top="3.167">
            <Path.Stroke>
                <LinearGradientBrush EndPoint="0.771,0.844" StartPoint="-0.055,-0.062">
                    <GradientStop Color="#D2072F2F" Offset="0.005"/>
                    <GradientStop Color="#91072F2F" Offset="1"/>
                </LinearGradientBrush>
            </Path.Stroke>
        </Path>
        <Path Width="6.81" Height="6.81" Stretch="Fill" StrokeThickness="1" Data="M160.085,5.249 L170.72837,15.892366" RenderTransformOrigin="0.5,0.5" StrokeEndLineCap="Round" StrokeStartLineCap="Round" Canvas.Left="3.167" Canvas.Top="3.167">
            <Path.Stroke>
                <LinearGradientBrush EndPoint="0.771,0.844" StartPoint="-0.055,-0.062">
                    <GradientStop Color="#D2072F2F" Offset="0.005"/>
                    <GradientStop Color="#91072F2F" Offset="1"/>
                </LinearGradientBrush>
            </Path.Stroke>
            <Path.RenderTransform>
                <TransformGroup>
                    <ScaleTransform ScaleX="-1" ScaleY="1"/>
                    <SkewTransform AngleX="0" AngleY="0"/>
                    <RotateTransform Angle="0"/>
                    <TranslateTransform X="0" Y="0"/>
                </TransformGroup>
            </Path.RenderTransform>
        </Path>
        <Ellipse Width="13.25" Height="13.25" StrokeEndLineCap="Flat" StrokeStartLineCap="Flat" StrokeThickness="1">
            <Ellipse.Stroke>
                <LinearGradientBrush EndPoint="0.771,0.844" StartPoint="-0.055,-0.062">
                    <GradientStop Color="#FF072F2F" Offset="0.005"/>
                    <GradientStop Color="#FDFFFFFF" Offset="1"/>
                </LinearGradientBrush>
            </Ellipse.Stroke>
        </Ellipse>        
    </Canvas>

    </Canvas>

</Canvas>
</UserControl>